package com.jasmine.auth.exception;

import com.jasmine.core.constants.enums.SysResponseCode;

/**
 * 被拒绝的请求
 * @see com.jasmine.auth.annotation.AuthReject
 * @author jasmineXz
 */
public class UnauthorizedRequestException extends RuntimeException {
    public static final SysResponseCode resp = SysResponseCode.AUTH_FORBIDDEN;

    public UnauthorizedRequestException() {
    }

    public UnauthorizedRequestException(String message) {
        super(message);
    }

    public UnauthorizedRequestException(Throwable cause) {
        super(cause);
    }

    public UnauthorizedRequestException(String message, Throwable cause) {
        super(message, cause);
    }
}
